package com.cmc.cloud.cmclink.doc.vo.voyagebsapodvo;

import lombok.*;

import java.math.BigDecimal;

import io.swagger.v3.oas.annotations.media.Schema;
import com.cmes.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 目的港舱位分配分页 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 目的港舱位分配分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class VoyageBsaPodPageReqVO extends PageParam {

    @Schema(description = "舱位主信息id", example = "26983")
    private Long voyageBsaId;

    @Schema(description = "目的港")
    private String podCodes;

    @Schema(description = "bsa箱量teu")
    private Integer bsaTeu;

    @Schema(description = "bsa重量吨")
    private Integer bsaTons;

    @Schema(description = "冷插数")
    private Integer rfUnit;

    @Schema(description = "HC(teu)")
    private Integer hcTeu;

    @Schema(description = "危险品占比teu")
    private BigDecimal maxDgPercent;

    @Schema(description = "危险品定额teu")
    private Integer maxDgTeu;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
